[SPARK-40851][INFRA ][SQL][TESTS] Make GA run successfully with the latest Java 8/11/17#38317
[SPARK-40851][INFRA ][SQL][TESTS] Make GA run successfully with the latest Java 8/11/17#38317LuciferYang wants to merge 5 commits intoapache:masterfrom
Conversation
|
The replacement of Zone refers to the |
…pass GA first" This reverts commit 1311976.
| @@ -4,15 +4,15 @@ | |||
| "diffs" : [ -173768, -87368, -968, 85432, 171832, 258232, 344632, 431032, 517432, 603832, 690232, 776632, 863032, 776632, 690232, 603832, 517432, 431032, 344632, 258232, 171832, 85432, -968, 0 ] | |||
| }, { | |||
| "tz" : "Africa/Accra", | |||
| "switches" : [ -62135596748, -59006361548, -55850687948, -52695014348, -46383580748, -43227907148, -40072233548, -33760799948, -30605126348, -27449452748, -21138019148, -17982345548, -14826671948, -12220070348, -12219983948, -12219897548, -12219811148, -12219724748, -12219638348, -12219551948, -12219465548, -12219379148, -12219292748, -2208988800 ], | |||
| "diffs" : [ -172852, -86452, -52, 86348, 172748, 259148, 345548, 431948, 518348, 604748, 691148, 777548, 863948, 777548, 691148, 604748, 518348, 431948, 345548, 259148, 172748, 86348, -52, 0 ] | |||
| "switches" : [ -62135595832, -59006360632, -55850687032, -52695013432, -46383579832, -43227906232, -40072232632, -33760799032, -30605125432, -27449451832, -21138018232, -17982344632, -14826671032, -12220069432, -12219983032, -12219896632, -12219810232, -12219723832, -12219637432, -12219551032, -12219464632, -12219378232, -12219291832, -2208988800 ], | |||
There was a problem hiding this comment.
Regenerate gregorian-julian-rebase-micros.json using generate 'gregorian-julian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352
| "tz" : "Africa/Accra", | ||
| "switches" : [ -62135769600, -59006448000, -55850688000, -52694928000, -46383408000, -43227648000, -40071888000, -33760368000, -30604608000, -27448848000, -21137328000, -17981568000, -14825808000, -12219292800, -2208988800 ], | ||
| "diffs" : [ 172852, 86452, 52, -86348, -172748, -259148, -345548, -431948, -518348, -604748, -691148, -777548, -863948, 52, 0 ] | ||
| "diffs" : [ 173768, 87368, 968, -85432, -171832, -258232, -344632, -431032, -517432, -603832, -690232, -776632, -863032, 968, 0 ] |
There was a problem hiding this comment.
Regenerate julian-gregorian-rebase-micros.json using generate 'julian-gregorian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352
|
Thanks for fixing this. This is the cause of the test failures in #38260. cc @cloud-fan |
|
cc @MaxGekk |
|
Merging to master. Thank you, @LuciferYang and @cloud-fan @HyukjinKwon for review. |
|
Thanks @MaxGekk @cloud-fan @HyukjinKwon and @wangyum |
|
@LuciferYang and everyone, we need to port this back to 3.3 and 3.2 right? b/c it will affect those branches, which do not pin Java 8. For example I think this backport is failing with the same issue: https://github.com/bjornjorgensen/spark/actions/runs/3304235420/jobs/5455772005 |
| ("2021-12-05T22:00:00", "Europe/Moscow") -> ("2021-12-06T00:00:00", "Asia/Yekaterinburg"), | ||
| ("2021-12-06T00:01:02.123456", "Asia/Yekaterinburg") -> | ||
| ("2021-12-05T20:01:02.123456", "Europe/Amsterdam"), | ||
| ("2021-12-05T20:01:02.123456", "Europe/Brussels"), |
There was a problem hiding this comment.
@LuciferYang mind creating a cherry-pick to other branches too?
There was a problem hiding this comment.
…atest Java 8/11/17 The main change of this pr as follows: - Replace `Antarctica/Vostok` to `Asia/Urumqi` in Spark code - Replace `Europe/Amsterdam` to `Europe/Brussels` in Spark code - Regenerate `gregorian-julian-rebase-micros.json` using generate 'gregorian-julian-rebase-micros.json' in `RebaseDateTimeSuite` with Java 8u352 - Regenerate `julian-gregorian-rebase-micros.json` using generate 'julian-gregorian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352 - Revert change of SPARK-40846 Make GA run successfully with the latest Java 8/11/17: - Java 8u352 - Java 11.0.17 - Java 17.0.5 No - Pass GitHub Actions - Manual test: the following commands can test pass with Java 8u345, 8u352, 11.0.16, 11.0.17, 17.0.4 and 17.0.5 - `build/sbt "catalyst/test"` - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ltz.sql\""` - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ntz.sql\""` Closes apache#38317 from LuciferYang/SPARK-40851. Lead-authored-by: yangjie01 <yangjie01@baidu.com> Co-authored-by: YangJie <yangjie01@baidu.com> Signed-off-by: Max Gekk <max.gekk@gmail.com>
…atest Java 8/11/17 The main change of this pr as follows: - Replace `Antarctica/Vostok` to `Asia/Urumqi` in Spark code - Replace `Europe/Amsterdam` to `Europe/Brussels` in Spark code - Regenerate `gregorian-julian-rebase-micros.json` using generate 'gregorian-julian-rebase-micros.json' in `RebaseDateTimeSuite` with Java 8u352 - Regenerate `julian-gregorian-rebase-micros.json` using generate 'julian-gregorian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352 - Revert change of SPARK-40846 Make GA run successfully with the latest Java 8/11/17: - Java 8u352 - Java 11.0.17 - Java 17.0.5 No - Pass GitHub Actions - Manual test: the following commands can test pass with Java 8u345, 8u352, 11.0.16, 11.0.17, 17.0.4 and 17.0.5 - `build/sbt "catalyst/test"` - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ltz.sql\""` - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ntz.sql\""` Closes apache#38317 from LuciferYang/SPARK-40851. Lead-authored-by: yangjie01 <yangjie01@baidu.com> Co-authored-by: YangJie <yangjie01@baidu.com> Signed-off-by: Max Gekk <max.gekk@gmail.com>
…atest Java 8/11/17 ### What changes were proposed in this pull request? The main change of this pr as follows: - Replace `Antarctica/Vostok` to `Asia/Urumqi` in Spark code - Replace `Europe/Amsterdam` to `Europe/Brussels` in Spark code - Regenerate `gregorian-julian-rebase-micros.json` using generate 'gregorian-julian-rebase-micros.json' in `RebaseDateTimeSuite` with Java 8u352 - Regenerate `julian-gregorian-rebase-micros.json` using generate 'julian-gregorian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352 - Revert change of SPARK-40846 ### Why are the changes needed? Make GA run successfully with the latest Java 8/11/17: - Java 8u352 - Java 11.0.17 - Java 17.0.5 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? - Pass GitHub Actions - Manual test: the following commands can test pass with Java 8u345, 8u352, 11.0.16, 11.0.17, 17.0.4 and 17.0.5 - `build/sbt "catalyst/test"` - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ltz.sql\""` - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ntz.sql\""` Closes apache#38317 from LuciferYang/SPARK-40851. Lead-authored-by: yangjie01 <yangjie01@baidu.com> Co-authored-by: YangJie <yangjie01@baidu.com> Signed-off-by: Max Gekk <max.gekk@gmail.com>



What changes were proposed in this pull request?
The main change of this pr as follows:
Antarctica/VostoktoAsia/Urumqiin Spark codeEurope/AmsterdamtoEurope/Brusselsin Spark codegregorian-julian-rebase-micros.jsonusing generate 'gregorian-julian-rebase-micros.json' inRebaseDateTimeSuitewith Java 8u352julian-gregorian-rebase-micros.jsonusing generate 'julian-gregorian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352Why are the changes needed?
Make GA run successfully with the latest Java 8/11/17:
Does this PR introduce any user-facing change?
No
How was this patch tested?
build/sbt "catalyst/test"build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ltz.sql\""build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ntz.sql\""